import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import './assets/css/cssreset.css'
import './assets/icon/iconfont.css'
import Axios from 'axios'
import mintUi from 'mint-ui'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload)

import '../node_modules/swiper/swiper-bundle.css'

Vue.prototype.$http=Axios
Vue.use(VueAwesomeSwiper)
Vue.use(mintUi);
Vue.use(VueRouter);
import router from './assets/js/router.js'

new Vue({
  el: '#app',
  render: h => h(App),
  router,//属性和引用的路由同名，只写router就行
})
